Include Pod OS field#35985
Conversation
👷 Deploy Preview for kubernetes-io-vnext-staging processing.
|
|
cc @sftim |
sftim
left a comment
There was a problem hiding this comment.
Thanks for the PR. I have a few small suggestions that I hope make sense.
|
/milestone 1.25 Relevant to kubernetes/enhancements#2802 |
|
The changes you made are correct @sftim. Thank you :) |
|
|
||
| {{< feature-state state="stable" for_k8s_version="v1.25" >}} | ||
|
|
||
| You should set the `.spec.os.name` field to either `windows` or `linux` to indicate the OS on |
There was a problem hiding this comment.
nit:
Should this be 'To indicate the OS on which the pod is intended to run on, set the .spec.os.name field to either windows or linux. ?
This avoids language like should or can.
There was a problem hiding this comment.
I like that we're making a recommendation. It's more than “there's this field, you could use it if you like”; now the field is GA, it's “you ought to set this field”.
If we had the capacity it'd be nice to show a sample webhook that produces a Warning when you don't set that for a Pod / pod template.
There was a problem hiding this comment.
Given that there's System.Net.HttpListener, that sample webhook could even be written in PowerShell!
There was a problem hiding this comment.
If we had the capacity it'd be nice to show a sample webhook that produces a Warning when you don't set that for a Pod / pod template.
We can do that but it is left to the user as an exercise since the use-cases may differ.
|
LGTM (from sig-windows) |
|
/label tide/merge-method-squash |
|
/retest |
|
@sftim - Any other concerns here? |
|
@ravisantoshgudimetla can you take a look at the CI job failures? |
|
@ravisantoshgudimetla to re-trigger Netlify build, you can (force-)push again. |
|
I've triggered a new Netlify preview. No need to force-push a near identical commit in order to make that happen. |
Include Pod OS field in the pod concepts.
2e122da to
5206c7f
Compare
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: reylejano The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/remove-label tide/merge-method-squash |
|
LGTM label has been added. DetailsGit tree hash: bf59892b3b9648959bb5132c5520d23bda7b16b4 |
Include Pod OS field in the pod concepts.